import request from '@/plugins/request';
// 平台列表
export function platformList(data) {
    return request({
      url: "/v1/buss/platform/index",
      method: "get",
      params: data,
    });
}
  
//新增、更新平台
export function createPlatform(data) {
    return request({
        url: "/v1/buss/platform/update-platform",
        method: "post",
        data,
    });
}

//删除平台
export function deletePlatform(data) {
    return request({
        url: "/v1/buss/platform/delete-platform",
        method: "post",
        data,
    });
}
